package model

import "gorm.io/gorm"

type Chat struct {
	gorm.Model
	SendUserId uint   `gorm:"type:bigint(20);not null;comment:发送消息的用户id"`
	ToUserID   uint   `gorm:"type:bigint(20);not null;comment:接收消息的用户id"`
	Content    string `gorm:"type:varchar(255);not null;comment:消息内容"`
}
